<template>
  <div>
      <Shoplist v-for="(v,i) in arr" :key="i" :title="v.title" :greentitle="v.greentitle" :goods="v.goods"/>
  </div>
</template>

<script>
import Shoplist from './shoplist.vue'
export default {
    components:{
        Shoplist
    },
    data(){
        return {
            arr:[
                {
                    title:'邮票',
                    greentitle:'典藏',
                    goods:[
                        {littleimg:'/home/home (7).jpg',littletext:'【2022年邮票预定】2022年中国香港年册预定',price:'<span style="color:red">￥210</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥210</del>'},
                        {littleimg:'/home/home (6).jpg',littletext:'【2022年邮票预定】2022年中国香港邮票预定',price:'<span style="color:red">￥450</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥450</del>'},
                        {littleimg:'/home/home (5).jpg',littletext:'【2022年邮票预定】2022年预定年册-预约(新用户)',price:'<span style="color:red">￥1800</span> &nbsp;<del style="color:black">￥1800</del>'}
                    ]
                },
                {
                    title:'精选',
                    greentitle:'报刊',
                    goods:[
                        {littleimg:'/home/home (7).jpg',littletext:'中华遗产',price:'<span style="color:red">￥25</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥25</del>'},
                        {littleimg:'/home/home (6).jpg',littletext:'集邮博览(含手机客户端)',price:'<span style="color:red">￥20</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥20</del>'},
                        {littleimg:'/home/home (14).jpg',littletext:'上海集邮',price:'<span style="color:red">￥40</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥40</del>'}
                    ]
                },
                {
                    title:'超值',
                    greentitle:'精选',
                    goods:[
                        {littleimg:'/home/home (13).jpg',littletext:'广西小米蕉香蕉小芭蕉(南宁双定现摘泡沫箱)',price:'<span style="color:red">￥19.3</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥19.3</del>'},
                        {littleimg:'/home/home (12).jpg',littletext:'黑龙江稻花香大米2.5kg(新米)',price:'<span style="color:red">￥46.9</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥46.9</del>'},
                        {littleimg:'/home/home (11).jpg',littletext:'邮滋味阳澄湖大闸蟹 尝鲜型 母2.5两 公3两 4只装',price:'<span style="color:red">￥188</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥188</del>'}
                    ]
                },
                {
                    title:'明信',
                    greentitle:'片',
                    goods:[
                        {littleimg:'/home/home (10).jpg',littletext:'二十四节气诗书画印宣纸纪念册',price:'<span style="color:red">￥30</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥30</del>'},
                        {littleimg:'/home/home (9).jpg',littletext:'二十四节气纪念邮折',price:'<span style="color:red">￥35</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥35</del>'},
                        {littleimg:'/home/home (8).jpg',littletext:'春秋代序 寒暑环周',price:'<span style="color:red">￥12</span> &nbsp;&nbsp;&nbsp;<del style="color:black">￥12</del>'}
                    ]
                }
            ]
        }
    }
}
</script>

<style scoped>
    
</style>